LassoScript Utility
Basics Browse Detail

[String->IsCntrl]

Tag Link [String->IsCntrl] Category String
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type Boolean Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

[String->IsCntrl] checks whether a specified character within the string is a control character. The tag returns True if the character is a control character or False otherwise.

Syntax

[If: 'String'->(IsCntrl: 3)] ... [/If]

Parameters

Required Parameters
Position The character within the string to inspect.

Examples

To check whether a character is a control character:

Use the [String->IsCntrl] tag. The following example returns False since the fourth character of the string is not a control character.

[Output: '26 Letters'->(IsCntrl: 4)]

False

Related Tags

Category Tags